package com.cn.bukeManage.pojo;
/*
 * 产品构成类
 */
public class Composition {
	private Integer compositionId;//产品构成ID
	private String serialnumber;//型号
	private String material;//材质
	private Double breadth;//幅宽
	private Double spur;//花距
	private Integer breadthStatus;//幅宽的状态:0定高 1定宽
	private Integer inverte;//能否倒幅:1可以 0不可以
	private Double purchasePrice;//采购价
	private Integer supplierId;//供货商ID
	private Integer putTogether;//拼接方式:0不拼接 1横拼 2竖拼
	private Double putNumber;//拼接米数
	private Integer type;//类型:0帘头 1主布 2配布
	private Integer sampleId;//产品ID
	private String produceArea;//产地
	private Double price;//出售价
	private String img;//图片
	private Double zhePrice;//韩折价格
	private Double holePrice;//打孔价格
	private Double ssPrice;//纱价格
	private Double llPrice;//帘头价格
	
	
	public Integer getCompositionId() {
		return compositionId;
	}
	public void setCompositionId(Integer compositionId) {
		this.compositionId = compositionId;
	}
	public String getSerialnumber() {
		return serialnumber;
	}
	public void setSerialnumber(String serialnumber) {
		this.serialnumber = serialnumber;
	}
	public String getMaterial() {
		return material;
	}
	public void setMaterial(String material) {
		this.material = material;
	}
	public Double getBreadth() {
		return breadth;
	}
	public void setBreadth(Double breadth) {
		this.breadth = breadth;
	}
	public Double getSpur() {
		return spur;
	}
	public void setSpur(Double spur) {
		this.spur = spur;
	}
	public Integer getBreadthStatus() {
		return breadthStatus;
	}
	public void setBreadthStatus(Integer breadthStatus) {
		this.breadthStatus = breadthStatus;
	}
	public Integer getInverte() {
		return inverte;
	}
	public void setInverte(Integer inverte) {
		this.inverte = inverte;
	}
	public Double getPurchasePrice() {
		return purchasePrice;
	}
	public void setPurchasePrice(Double purchasePrice) {
		this.purchasePrice = purchasePrice;
	}
	public Integer getSupplierId() {
		return supplierId;
	}
	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}
	public Integer getPutTogether() {
		return putTogether;
	}
	public void setPutTogether(Integer putTogether) {
		this.putTogether = putTogether;
	}
	public Double getPutNumber() {
		return putNumber;
	}
	public void setPutNumber(Double putNumber) {
		this.putNumber = putNumber;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getSampleId() {
		return sampleId;
	}
	public void setSampleId(Integer sampleId) {
		this.sampleId = sampleId;
	}
	public String getProduceArea() {
		return produceArea;
	}
	public void setProduceArea(String produceArea) {
		this.produceArea = produceArea;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public Double getZhePrice() {
		return zhePrice;
	}
	public void setZhePrice(Double zhePrice) {
		this.zhePrice = zhePrice;
	}
	public Double getHolePrice() {
		return holePrice;
	}
	public void setHolePrice(Double holePrice) {
		this.holePrice = holePrice;
	}
	public Double getSsPrice() {
		return ssPrice;
	}
	public void setSsPrice(Double ssPrice) {
		this.ssPrice = ssPrice;
	}
	public Double getLlPrice() {
		return llPrice;
	}
	public void setLlPrice(Double llPrice) {
		this.llPrice = llPrice;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((compositionId == null) ? 0 : compositionId.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Composition other = (Composition) obj;
		if (compositionId == null) {
			if (other.compositionId != null)
				return false;
		} else if (!compositionId.equals(other.compositionId))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "Composition [compositionId=" + compositionId + ", serialnumber=" + serialnumber + ", material="
				+ material + ", breadth=" + breadth + ", spur=" + spur + ", breadthStatus=" + breadthStatus
				+ ", inverte=" + inverte + ", purchasePrice=" + purchasePrice + ", supplierId=" + supplierId
				+ ", putTogether=" + putTogether + ", putNumber=" + putNumber + ", type=" + type + ", sampleId="
				+ sampleId + ", produceArea=" + produceArea + ", price=" + price + ", img=" + img + ", zhePrice="
				+ zhePrice + ", holePrice=" + holePrice + ", ssPrice=" + ssPrice + ", llPrice=" + llPrice + "]";
	}
	public Composition(Integer compositionId, String serialnumber, String material, Double breadth, Double spur,
			Integer breadthStatus, Integer inverte, Double purchasePrice, Integer supplierId, Integer putTogether,
			Double putNumber, Integer type, Integer sampleId, String produceArea, Double price, String img,
			Double zhePrice, Double holePrice, Double ssPrice, Double llPrice) {
		super();
		this.compositionId = compositionId;
		this.serialnumber = serialnumber;
		this.material = material;
		this.breadth = breadth;
		this.spur = spur;
		this.breadthStatus = breadthStatus;
		this.inverte = inverte;
		this.purchasePrice = purchasePrice;
		this.supplierId = supplierId;
		this.putTogether = putTogether;
		this.putNumber = putNumber;
		this.type = type;
		this.sampleId = sampleId;
		this.produceArea = produceArea;
		this.price = price;
		this.img = img;
		this.zhePrice = zhePrice;
		this.holePrice = holePrice;
		this.ssPrice = ssPrice;
		this.llPrice = llPrice;
	}
	public Composition() {
		super();
		// TODO Auto-generated constructor stub
	}

	
	
	
	
	
}
